import React from 'react'
import { Button, ConfigProvider } from "antd"
import "../assets/styles/demo.less"
export default function TestingComp() {
    return (
        <div>
            <h2>antd组件使用</h2>
            <ConfigProvider theme={{
                token: {
                    colorPrimary: '#ff9c6e',
                },
            }}>
                <Button type="primary">Primary Button</Button>
                <Button>Default Button</Button>
                <Button type="dashed">Dashed Button</Button>
                <Button type="text">Text Button</Button>
                <Button type="link">Link Button</Button>
            </ConfigProvider>

            <div className='box'>
                <span>蜗牛</span>
            </div>
        </div>
    )
}
